package com.ai.aiagent.tools;

import lombok.extern.slf4j.Slf4j;
import org.springframework.ai.tool.annotation.Tool;
import org.springframework.ai.tool.annotation.ToolParam;

@Slf4j
@SuppressWarnings("all")
/**
 *@ClassName TimeCurrent
 *@Description TODO
 *@Author @O_o  GW__
 *@Date 2025/11/19 17:02
 *@Version 1.0
 */

public class TimeCurrent {
    @Tool(description = "Get the current time")
    public String getCurrentTime() {
        log.info("getCurrentTime" + java.time.LocalDateTime.now());
        return "Current time: " + java.time.LocalDateTime.now();

    }

}
